﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace Client
{
    class Program
    {
        static void Main(string[] args)
        {
            ServiceReferences.HelloWCFServiceClient hwc = new Client.ServiceReferences.HelloWCFServiceClient();
            string str = hwc.DoWork("我的第一个wcf程序");

            MulWCFServiceReference.MulWCFServicesClient msc = new Client.MulWCFServiceReference.MulWCFServicesClient();
            string mulStr = msc.GetAppVersion();

            Console.WriteLine(str);
            Console.WriteLine(mulStr);
            Console.Read();

            //EndpointAddress epa = new EndpointAddress("http://localhost:8731/HelloWCFService/");            
        }
    }
}
